RCG Inventory Process API - Implementation Template

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
get-inventory-by-productId-and-storeIdGet Real time Inventory response mapping
put-inventory-payload-to-b2cUpdate RealTime Inventory in B2C

get-inventory-by-productId-and-storeId

Get Real time Inventory response mapping

Source: ./src/main/resources/dwl/get-inventory-by-productId-and-storeId.dwl

Mapping Tables

Maps Inventory Availability Response

B2CCIMDescription
idproductIdThe product identifier
productIdproductIdThe product identifier
locationTypelocationTypeLocation Type
locationIdb2cStoreIdB2C Inventory identifier
quantityInStockquantityInStockQuantity available for a Product

(back to top)

put-inventory-payload-to-b2c

Update RealTime Inventory in B2C

Source: ./src/main/resources/dwl/put-inventory-payload-to-b2c.dwl

Mapping Tables

Maps Inventory Availability to B2C update request

B2C CIMCIMDescription
ididThe product identifier
productIdproductIdThe product identifier
locationTypelocationTypeLocation Type
locationIdlocationIdB2C Inventory identifier
quantityInStockquantityInStockQuantity available for a Product

(back to top)

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onOct 18, 2022
Asset overview

Asset versions for 2.7.x

Asset versions
VersionActions
2.7.0